package com.ziyear.comsumer.config;


import com.ziyear.spi.service.DubboTestService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.spring.ReferenceBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DubboConfig {

    @Bean
    @DubboReference
    public ReferenceBean<DubboTestService> dubboTestService() {
        return new ReferenceBean<>();
    }
}
